home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 59338 / 59338.xpi / chrome / browser / preferences / preferences.css < prev    next >
Cascading Style Sheet File  |  2010-02-13  |  8KB  |  268 lines

  1. /*
  2. # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  3. # ***** BEGIN LICENSE BLOCK *****
  4. # Version: MPL 1.1/GPL 2.0/LGPL 2.1
  5. #
  6. # The contents of this file are subject to the Mozilla Public License Version
  7. # 1.1 (the "License"); you may not use this file except in compliance with
  8. # the License. You may obtain a copy of the License at
  9. # http://www.mozilla.org/MPL/
  10. #
  11. # Software distributed under the License is distributed on an "AS IS" basis,
  12. # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  13. # for the specific language governing rights and limitations under the
  14. # License.
  15. #
  16. # The Original Code is the Firefox Preferences System.
  17. #
  18. # The Initial Developer of the Original Code is
  19. # Ben Goodger.
  20. # Portions created by the Initial Developer are Copyright (C) 2005
  21. # the Initial Developer. All Rights Reserved.
  22. #
  23. # Contributor(s):
  24. #   Ben Goodger <ben@mozilla.org>
  25. #
  26. # Alternatively, the contents of this file may be used under the terms of
  27. # either the GNU General Public License Version 2 or later (the "GPL"), or
  28. # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  29. # in which case the provisions of the GPL or the LGPL are applicable instead
  30. # of those above. If you wish to allow use of your version of this file only
  31. # under the terms of either the GPL or the LGPL, and not to allow others to
  32. # use your version of this file under the terms of the MPL, indicate your
  33. # decision by deleting the provisions above and replace them with the notice
  34. # and other provisions required by the GPL or the LGPL. If you do not delete
  35. # the provisions above, a recipient may use your version of this file under
  36. # the terms of any one of the MPL, the GPL or the LGPL.
  37. #
  38. # ***** END LICENSE BLOCK *****
  39. */
  40.  
  41.  
  42. #browserHomePage {
  43. padding:0;
  44. padding-right:5px;
  45. border: 3px solid !important;
  46. -moz-border-radius: 4px;
  47. background-color:#ffffff;
  48. -moz-border-top-colors:#a8a8a8 #dadada #fcfcfc !important;
  49. -moz-border-bottom-colors:#d9d8d8 transparent transparent !important;
  50. -moz-border-left-colors:#d3d3d3 #fafafa transparent !important;
  51. -moz-border-right-colors:#d4d4d4 #fafafa transparent !important;
  52. }
  53.  
  54. #browserHomePage:hover {
  55. -moz-border-top-colors:#79b7fc #aac9ec #e8f2fd !important;
  56. -moz-border-bottom-colors:#7bb8fd #bddcff #eaf4ff !important;
  57. -moz-border-left-colors:#7bb9fd #bad9fc #eaf4ff !important;
  58. -moz-border-right-colors:#7cb9fe #bad9fc #eaf4ff !important;
  59. }
  60.  
  61. #browserHomePage[focused="true"] {
  62. -moz-border-top-colors:#3076c6 #85a8d1 #dde7f5 !important;
  63. -moz-border-bottom-colors:#3278c7 #98bbe4 #dfe9f7 !important;
  64. -moz-border-left-colors:#3278c7 #95b8e1 #dfe9f7 !important;
  65. -moz-border-right-colors:#3379c8 #95b8e1 #dfe9f7 !important;
  66. }
  67.  
  68.  
  69. /* Global Styles */
  70. #BrowserPreferences {
  71. background-color:#E4E3E2 !important;
  72. }
  73.  
  74. /* Global Styles */
  75. #BrowserPreferences radio[pane] {
  76. list-style-image: url("chrome://browser/skin/preferences/Options.png"); 
  77. padding: 5px 8px 1px 8px !important;
  78. margin-right:0px !important;
  79. border:2px solid transparent;
  80. font-weight:bold;
  81. }
  82.  
  83. #BrowserPreferences radio[pane]:hover {
  84. /* background: Transparent url("chrome://browser/skin/preferences/hover.png") center center !important; */
  85. background: -moz-linear-gradient(top, #deeefe, #ccdae7);
  86. color: #000000;
  87. border:2px solid;
  88. -moz-border-top-colors:#cce1f6 #e7f3fe;
  89. -moz-border-bottom-colors:#cadef2 #e3eef8;
  90. -moz-border-right-colors:#cadff3 #e3effa;
  91. -moz-border-left-colors:#cadff3 #e3eff9;
  92. -moz-border-radius:2px;
  93. }
  94.  
  95. #BrowserPreferences radio[pane][selected="true"] {
  96. /* background: Transparent url("chrome://browser/skin/preferences/select.png") center center !important; */
  97. background: -moz-linear-gradient(top, #68b4fd, #5190cf);
  98. color: #ffffff;
  99. border:2px solid;
  100. -moz-border-top-colors:#418bd4 #89c5fe;
  101. -moz-border-bottom-colors:#418bd4 #71a8df;
  102. -moz-border-right-colors:#418bd4 #77b0e7;
  103. -moz-border-left-colors:#418bd4 #77afe6;
  104. -moz-border-radius:2px;
  105. }
  106.  
  107.  
  108. .paneSelector {
  109. -moz-box-pack: start;
  110. -moz-appearance: none;
  111. margin:10px 10px 3px 10px !important; 
  112. border: 2px solid !important;
  113. -moz-border-radius: 5px;
  114. -moz-border-top-colors:#969595 #c1c0bf !important;
  115. -moz-border-bottom-colors:#d6d5d4 #e0dfde !important;
  116. -moz-border-left-colors:#bbbab9 #dcdbda !important;
  117. -moz-border-right-colors:#bcbbba #dcdbda !important;
  118. padding:0 !important;
  119. background-color:#ffffff !important;
  120. }
  121.  
  122. .paneSelector:focus {
  123. -moz-border-top-colors:#2f75c5 #789bc3 !important;
  124. -moz-border-bottom-colors:#3278c7 #88abd3 !important;
  125. -moz-border-left-colors:#3177c6 #86a8d1 !important;
  126. -moz-border-right-colors:#3278c7 #86a8d1 !important;
  127. }
  128.  
  129.  
  130. radio[pane=paneMain]         {-moz-image-region:rect(0px,32px,32px,0px)}
  131. radio[pane=paneTabs]         {-moz-image-region:rect(0px,64px,32px,32px);}
  132. radio[pane=paneContent]     {-moz-image-region:rect(0px,96px,32px,64px)}
  133. radio[pane=paneApplications]     {-moz-image-region:rect(0px,128px,32px,96px)}
  134. radio[pane=panePrivacy]     {-moz-image-region:rect(0px,160px,32px,128px)}
  135. radio[pane=paneSecurity]     {-moz-image-region:rect(0px,192px,32px,160px);}
  136. radio[pane=paneAdvanced]     {-moz-image-region:rect(0px,224px,32px,192px)}
  137.  
  138. /* Applications Pane */
  139. #BrowserPreferences[animated="true"] #handlersView {
  140. height: 25em;
  141. }
  142.  
  143. #BrowserPreferences[animated="false"] #handlersView {
  144. -moz-box-flex: 1;
  145. }
  146.  
  147. /* Privacy Pane */
  148.  
  149. /* styles for the link elements copied from .text-link in global.css */
  150. .inline-link {
  151. color: #0057ae !important;
  152.   text-decoration: underline;
  153. }
  154.  
  155. .inline-link:not(:focus) {
  156.   outline: 1px dotted transparent;
  157. }
  158.  
  159. .inline-link:focus {
  160.   outline: 1px dashed #000000;
  161. }
  162.  
  163. /* Modeless Window Dialogs */
  164. .windowDialog,
  165. .windowDialog prefpane {
  166.   padding: 0px;
  167. }
  168.  
  169. .contentPane {
  170.   margin: 9px 8px 5px 8px;
  171. }
  172.  
  173. .actionButtons {
  174.   margin: 0px 3px 6px 3px !important;
  175. }
  176.  
  177. /* Cookies Manager */
  178. #cookiesChildren::-moz-tree-image(domainCol) {
  179.   width: 16px;
  180.   height: 16px;
  181.   margin: 0px 2px;
  182.   list-style-image: url("chrome://global/skin/icons/folder-item.png") !important;
  183.   -moz-image-region: rect(0px, 16px, 16px, 0px);
  184. }
  185.  
  186. #cookiesChildren::-moz-tree-image(domainCol, container) {
  187.   -moz-image-region: rect(0px, 32px, 16px, 16px);
  188. }
  189.  
  190. #cookiesChildren::-moz-tree-image(domainCol, container, open) {
  191.   -moz-image-region: rect(16px, 32px, 32px, 16px);
  192. }
  193.  
  194. #cookieInfoBox {
  195. margin:5px !important;  
  196. border: 2px solid !important;
  197. -moz-border-radius: 5px;
  198. -moz-border-top-colors:#969595 #c1c0bf !important;
  199. -moz-border-bottom-colors:#d6d5d4 #e0dfde !important;
  200. -moz-border-left-colors:#bbbab9 #dcdbda !important;
  201. -moz-border-right-colors:#bcbbba #dcdbda !important;
  202. padding: 5px;
  203. }
  204.  
  205. /* Advanced Pane */
  206.  
  207. /* Adding padding-bottom prevents the bottom of the tabpanel from being cutoff
  208.    when browser.preferences.animateFadeIn = true */
  209. #advancedPrefs {
  210.   padding-bottom: 8px;
  211. }
  212.  
  213. /* bottom-most box containing a groupbox in a prefpane. Prevents the bottom
  214.    of the groupbox from being cutoff */
  215. .bottomBox {
  216.   padding-bottom: 4px;
  217. }
  218.  
  219.  
  220.  
  221. .paneSelector,
  222. .tab-middle.box-inherit {
  223.   border: none;
  224.   outline: transparent;
  225. }
  226.  
  227.  
  228. filefield,
  229. .fileFieldContentBox
  230. {
  231.   -moz-appearance: none; 
  232.   border: none;
  233.   background: none;
  234. }
  235.  
  236.  
  237. /* select buttons */
  238. menulist {
  239.   outline: none;
  240. }
  241.  
  242. /* top options panel */
  243. radiogroup {
  244.   background: none;
  245. }
  246.  
  247. #BrowserPreferences tabpanels {
  248. -moz-appearance: none !important;
  249. -moz-border-radius-topleft:0px;
  250. -moz-border-radius-topright:0px;
  251. -moz-border-radius-bottomright:6px;
  252. -moz-border-radius-bottomleft:6px;
  253. border:4px solid;
  254. border-top:none !important;
  255. margin-top:-4px;
  256. -moz-border-left-colors:  #e2e1e0 #bfbebd #f6f5f4 #efeeee;
  257. -moz-border-right-colors: #e2e1e0 #bfbebd #f5f4f3 #f0f0ef;
  258. -moz-border-bottom-colors: #c3c2c2 #979595 #e4e3e3 #e6e6e5;
  259. background-color:#dfdedc !important;
  260. padding:10px 0px 0px 5px !important;
  261. }
  262.  
  263. #BrowserPreferences .tabs-right {
  264.   border: none;
  265.   background-color: transparent !important;
  266. border-bottom:5px solid !important;
  267. -moz-border-bottom-colors: transparent transparent transparent transparent #ffffff;
  268. }